a11y: Get the accessible role once
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 19 Nov 2020 14:27:30 +0000 (14:27 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 19 Nov 2020 15:20:56 +0000 (15:20 +0000)
commit8fa58c2e178e045769188d2fa55229d67b8d8e79
tree386950c490c3d4a41bb035b2676869adfb4e0efc
parentd436c2e8391bc684da933008d5a4483cbc536bc8
a11y: Get the accessible role once

Simplify getting the accessible role when checking if an accessible
implementation should present itself; this avoids going through
GtkAccessible twice to get the same data.
gtk/gtkaccessible.c